import json
import cv2
import numpy as np
import requests as req
import os
from PIL import Image
from io import BytesIO
import  tensorflow as tf
import urllib

from ssds.xmlImage import *
if __name__ == '__main__':
 str= [{"index": "23",
       "imgJson":'{"imgName": "", "objs": [{"label": "truck", "xmin": 30, "xmax": 932, "ymin": 119, "ymax": 392},'
                 '{"label": "people", "xmin": 95, "xmax": 808, "ymin": -1, "ymax": 104}]}',
        'imgUrl':'http://192.168.0.200/group1/M00/00/34/wKgAml3TsYuAZ3mQAAA3WOeIuKE202.jpg'}]
 convertimgset('f:/ssd', str, 'train')








